﻿<ResourceDictionary x:Name="DefaultGeometryTemplates"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
    xmlns:converters="clr-namespace:DeepEarth.Map.Core.Converters;assembly=DeepEarth.Map.Core"
    xmlns:geo="clr-namespace:DeepEarth.Toolkit.Geometry"
    xmlns:coreControls="clr-namespace:DeepEarth.Core.Controls;assembly=DeepEarth.Core"
    xmlns:core="clr-namespace:DeepEarth.Map.Core;assembly=DeepEarth.Map.Core"
    >

    <DataTemplate x:Key="PushpinTemplate" coreControls:TemplateSelector.DataType="DeepEarth.Toolkit.Geometry.Data.PushpinGeometry, DeepEarth.Toolkit.Geometry">
        <geo:Pushpin Position="{Binding Position}"></geo:Pushpin>
    </DataTemplate>

    <DataTemplate x:Key="LabelTemplate" coreControls:TemplateSelector.DataType="DeepEarth.Toolkit.Geometry.Data.LabelGeometry, DeepEarth.Toolkit.Geometry">
        <geo:Label Position="{Binding Position}" PositionOrigin="{Binding PositionOrigin}">
        </geo:Label>
    </DataTemplate>

</ResourceDictionary>